go/types.Checker.trace (method)
25 uses
go/types (current package)
call.go#L68: check.trace(pos, "-- instantiating %s with %s", typ, targs)
call.go#L72: check.trace(pos, "=> %s (under = %s)", res, res.Underlying())
check.go#L386: check.trace(a.desc.pos.Pos(), "-- "+a.desc.format, a.desc.args...)
decl.go#L60: check.trace(obj.Pos(), "-- checking %s (%s, objPath = %s)", obj, obj.color(), pathString(check.objPath))
decl.go#L64: check.trace(obj.Pos(), "=> %s (%s)", obj, obj.color())
decl.go#L267: check.trace(obj.Pos(), "## cycle detected: objPath = %s->%s (len = %d)", pathString(cycle), obj.Name(), len(cycle))
decl.go#L269: check.trace(obj.Pos(), "## cycle contains: generic type in a type parameter list")
decl.go#L271: check.trace(obj.Pos(), "## cycle contains: %d values, %d type definitions", nval, ndef)
decl.go#L275: check.trace(obj.Pos(), "=> cycle is valid")
decl.go#L277: check.trace(obj.Pos(), "=> error: cycle is invalid")
decl.go#L689: check.trace(names[0].Pos(), "type params = %v", tparams[len(tparams)-len(names):])
errors.go#L130: func (check *Checker) trace(pos token.Pos, format string, args ...any) {
errors.go#L185: check.trace(pos, "ERROR: %s", msg)
expr.go#L1200: check.trace(e.Pos(), "expr %s", e)
expr.go#L1204: check.trace(e.Pos(), "=> %s", x)
stmt.go#L22: check.trace(body.Pos(), "--- %s: %s", name, sig)
stmt.go#L24: check.trace(body.End(), "--- <end>")
subst.go#L206: subst.check.trace(subst.pos, format, args...)
typeset.go#L180: check.trace(pos, "type set for %s", ityp)
typeset.go#L184: check.trace(pos, "=> %s ", ityp.typeSet())
typexpr.go#L220: check.trace(e0.Pos(), "-- type %s", e0)
typexpr.go#L231: check.trace(e0.Pos(), "=> %s // %s", T, goTypeName(T))
typexpr.go#L233: check.trace(e0.Pos(), "=> %s (under = %s) // %s", T, under, goTypeName(T))
typexpr.go#L396: check.trace(pos, "-- instantiating %s with %s", ix.X, ix.Indices)
typexpr.go#L401: check.trace(pos, "=> %s", res)